<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
session_start();
//error_reporting(E_ALL);
/**
 *
 * @author ANDRINIRINA Aimé Jules
 * @tel 261 34 60 011 66
 * @email aimejules1@gmail.com
 */

class Test_lab1 extends CI_Controller {

	private $per_page = 5;
	private $uri_segment = 3;
	
	function __construct()
	    {
		parent::__construct();
		$this->load->helper('url');
		$this->load->helper(array('form', 'url'));
		$this->load->library('form_validation');
		$this->load->library('session');
                $this->load->library('uri');
                $this->load->model('lab');
            }
            function index(){
                $result=$this->lab->listeClinic();
                foreach ($result as $key => $list){
		echo $list['NOM_CLI']."<br />";			
                }
            }
 }